﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;

namespace MODEL.ViewModel
{
    public class Salary
    {
        [DisplayName("序号")]
        public int SalaryDisID { get; set; }

        [DisplayName("绩效序号")]
        [Required]
        public int PerforID { get; set; }

        [DisplayName("工资来源")]
        public int SalarySource { get; set; }

        [DisplayName("发放方式")]
        [Required]
        public int GrantMethod { get; set; }

        [DisplayName("领款事由")]

        public string DrawReason { get; set; }

        [DisplayName("岗位名称")]
        public string PositionName { get; set; }

        [DisplayName("岗位序号")]
        [Required]
        public int PositionId { get; set; }

        [DisplayName("学生学号")]
        public string WorkStudentNum { get; set; }

        [DisplayName("学生姓名")]
        public string WorkStudentName { get; set; }

        [DisplayName("工资标准")]
        public string SalaryStandard { get; set; }

        [DisplayName("在岗数")]
        [Required]
        public Nullable<int> WorkingTime { get; set; }

        [DisplayName("工资金额")]
        public int SumOfMoney { get; set; }

        [DisplayName("开始时间")]
        public string BeginTime { get; set; }

        [DisplayName("结束时间")]
        [Required]
        public string EndTime { get; set; }

        [DisplayName("发放时间")]
        public Nullable<System.DateTime> DistriTime { get; set; }

        [DisplayName("是否绩效折算")]
        public Nullable<int> IsConvert { get; set; }

        [DisplayName("审核状态")]
        [Required]
        public int AuditStatus { get; set; }

        [DisplayName("审核理由")]
        [Required]
        public string AuditReason { get; set; }

        [DisplayName("审核时间")]
        public Nullable<System.DateTime> AuditTime { get; set; }

        [DisplayName("是否发放")]
        public int IsGrantSuccess { get; set; }
    }
}
